package com.hxzy.service.impl.sms;

import com.hxzy.service.SmsService;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * 本地默认短信成功（没有发短信的）
 */
@Primary
@Service
public class DefaultSmsServiceImpl implements SmsService {
    @Override
    public boolean sendCodeSms(String phone, String[] templateParamSet) {
        return true;
    }

    @Override
    public boolean approvalNoPass(String phone, String reason) {
        return true;
    }

    @Override
    public boolean approvalPass(String phone) {
        return true;
    }

    @Override
    public boolean forgetPasswordSms(String phone, String[] templateParamSet) {
        return true;
    }
}
